<?php
	$name = $_GET['name'];
?>

<html>
<body style="color: #FFFFFF; background-color: #F3F3F3">

<font face='Arial, Helvetica, Geneva'>
<a href="/">Tillbaka</a><br>
</font>

<IMG src="/graphs/weekly/<?php echo $name ?>.gif" name="refresh" width="1024" height="500"> 

<SCRIPT language="JavaScript" type="text/javascript"> 
var t = 30 // Interval in Seconds
image = "/graphs/weekly/<?php echo $name ?>.gif" //URL of the Image 
function Start() { 
tmp = new Date(); 
tmp = "?"+tmp.getTime() 
document.images["refresh"].src = image+tmp 
setTimeout("Start()", t*1000) 
} 
Start(); 
</SCRIPT>
<br/>

<?php
	$name = $_GET['name'];
	echo "<FONT FACE='Arial, Helvetica, Geneva'><a href='daily.php?name=$name'>Daily graph</FONT></a> ";
	echo "<FONT FACE='Arial, Helvetica, Geneva'><a href='monthly.php?name=$name'>Monthly graph</FONT></a> ";
	echo "<FONT FACE='Arial, Helvetica, Geneva'><a href='threemonthly.php?name=$name'>Quarterly graph</FONT></a> ";
	echo "<FONT FACE='Arial, Helvetica, Geneva'><a href='yearly.php?name=$name'>Yearly graph</FONT><br></a>";
?>

</html>